package com.y2.authprj.bean.auth.vo;

import java.io.Serializable;
import java.util.Date;

public class UserroleVo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6946105303817374106L;
	private String  staffName;	//用户中文名
	private String sysroleName;
	private Integer staffId;
	private Integer roleId;
	private String beginDate;
	private String endDate;
	//行
	private Integer num=10;
	//页数
	private Integer pageNum =1;
	
	
	public Integer getStaffId() {
		return staffId;
	}
	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	
	
	public String getStaffName() {
		return staffName;
	}
	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}
	
	public String getSysroleName() {
		return sysroleName;
	}
	public void setSysroleName(String sysroleName) {
		this.sysroleName = sysroleName;
	}
	public String getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	

	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		if(null==num||num<=0){
			num = 2;
		}
		this.num = num;
	}
	
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageNum(Integer pageNum) {
		if(null==pageNum||pageNum<=0){
			pageNum = 1;
		}
		this.pageNum = pageNum;
	}
	public Integer getBegin(){
		return (pageNum-1)*num;
	}
	
}
